home *** CD-ROM | disk | FTP | other *** search
/ developer.apple.com / developer.apple.com.tar / developer.apple.com / tools / OptimizationExample.dmg / Optimization Example / makefile < prev    next >
Makefile  |  2004-06-17  |  450b  |  23 lines

  1. test: test.obj
  2.     gcc -o test test.o
  3. test.obj: test.c
  4.     gcc -c -v test.c
  5. clean:
  6.     rm test *.o
  7. asm:
  8.     gcc -v -S -g -o test.asm.s test.c
  9. asm0:
  10.     gcc -v -S -O0 -o test.O0.s test.c
  11. asm1:
  12.     gcc -v -S -O1 -o test.O1.s test.c
  13. asm2:
  14.     gcc -v -S -O2 -o test.O2.s test.c
  15. asm3:
  16.     gcc -v -S -O3 -o test.O3.s test.c
  17. asmsize:
  18.     gcc -v -S -Os -o test.size.s test.c
  19. asmfast:
  20.     gcc -v -S -fast -o test.fast.s test.c
  21. asmunroll:
  22.     gcc -v -S -floop-optimize -o test.unroll.s test.c
  23.